package com.codes.dao;

import com.codes.model.Opinion;

import java.util.List;
import java.util.Map;

public interface OpinionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Opinion record);

    int insertSelective(Map record);

    Map  selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Map record);

    int updateByPrimaryKey(Opinion record);

    List<Map<String,Object>> getListByMap(Map map);

}